package com.chinacoal.microservice.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.chinacoal.microservice.pojo.CcmsSmartleasingInvoiceRecord;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 开票记录信息-mybatis-plus接口类
 * @date 2020-12-08 15：23
 */
public interface CcmsSmartleasingInvoiceRecordMapper extends BaseMapper<CcmsSmartleasingInvoiceRecord> {

    /**
     * @Description: 查询开票信息
     * @author zhuliang
     * @date 2020/12/24 16:16
     */
    List<CcmsSmartleasingInvoiceRecord> getInvoice(@Param("fkNoticeId") String fkNoticeId);

    /**
     * @Description: 根据订单号查询开票信息id
     * @author zhuliang
     * @date 2021/2/1 17:41
     */
    CcmsSmartleasingInvoiceRecord getInvoiceByOrderNumber(@Param("orderNumber") String orderNumber);
}
